import Layout from "@/page/index/index.vue";

const parentPath = "/development/table/"
const editTable = "editTable"

const paths = {
    itemPath: parentPath + "/" + editTable,
}
const names = {
    editTable: "developmentTableEdit"
}

const routes = {}
routes.paths = paths
routes.names = names
routes.routes = [
    {
        path: parentPath,
        component: Layout,
        redirect: parentPath + "/" + editTable,
        children: [
            {
                path: editTable + "/:tableId/:tableName",
                name: names.editTable,
                meta: {
                    props: {
                        'labelKey': 'tableName',
                    },
                },

                component: () => import("@/views/start/development/table/editTableIndex.vue")
            },
        ]
    },
]
export default routes
